<ion-view id="transaction-detail" view-title="交易明细" hide-nav-bar="true">
  <ion-header-bar  align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <h1 class="title">财务明细</h1>
  </ion-header-bar>
  <ion-content>
    <div class="list">
        <div class="head-list" style="background-color:#35a9da;">
            <span>
                支付宝交易明细
            </span>
            <span class="right">
                <span class="up">总额</span>
                <span class="down">¥</span>
                {{totalMoneyAlipay.toFixed(2)}}
            </span>
        </div>
        <a class="item" ng-repeat="item in tradelistAlipay">
            <span>
                {{item.orderdate}}
            </span>
            <span class="middle">
                {{item.orderNo}}
            </span>
            <span class="down">
                ¥{{item.totalAmt}}元
            </span>
        </a>
        <div class="checkMore">
            <div style="text-decoration: underline;display: inline-block;" ng-click="getMoreAlipay()">
                查看更多
            </div>
            <span class="right">
                <span class="up">历史总累计金额</span>
                <span>¥</span>
                {{AlipayAllmoney}}元
            </span>
        </div>
    </div>
      <div class="list">
          <div class="head-list" style="background-color:#34c45d;">
            <span>
                微信交易明细
            </span>
            <span class="right">
                <span class="up">总额</span>
                <span class="down">¥</span>
                {{totalMoneyWx.toFixed(2)}}
            </span>
          </div>
          <a class="item" ng-repeat="item in tradelistWx">
            <span>
                {{item.orderdate}}
            </span>
            <span class="middle">
                {{item.orderNo}}
            </span>
            <span class="down">
                ¥{{item.totalAmt}}元
            </span>
          </a>
          <div class="checkMore">
            <div style="text-decoration: underline;display: inline-block;" ng-click="getMoreWx()">
                查看更多
            </div>
            <span class="right">
                <span class="up">历史总累计金额</span>
                <span>¥</span>
                {{WxAllmoney}}元
            </span>
          </div>
      </div>
  </ion-content>
</ion-view>